package com.wxprogram.smallprogram.entity;

import java.util.List;

/**
 *学校信息
 */
public class School {
    /**学校名称 */
    private String schoolname;

    /**学校所在城市名称 */
//    private String cityname;
    
    /**一个学校有多个专业类型*/
    List<MajorType> majorTypes;

    public String getSchoolname() {
        return schoolname;
    }

    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname;
    }

//    public String getCityname() {
//		return cityname;
//	}
//
//	public void setCityname(String cityname) {
//		this.cityname = cityname;
//	}

	public List<MajorType> getMajorTypes() {
		return majorTypes;
	}

	public void setMajorTypes(List<MajorType> list) {
		this.majorTypes = list;
	}

	@Override
    public String toString() {
        return "School{" +
                "schoolname='" + schoolname + '\'' +
//                ", cityname='" + cityname + '\'' +
                '}';
    }
}
